#include "SGE.h"
#include <iostream>
#include <SGF.h>
#include "Editor.h"

using namespace SGF;

void initEditor(Game* game,PluggableFactory* factory,MapManagerBase* mapManager,IEntity*(*getEntity)(Ogre::SceneNode*))
{
	printf("Plugin loaded\n");
	new Editor(game,factory,mapManager,getEntity);
}

void shutdownEditor()
{
	delete Editor::getInstance();
}

void startEditor()
{
	Editor::getInstance()->start();
}